<?php
namespace app\manage\validate;

use think\Validate;

/**
 * 项目验证
 * Class Project
 * @package app\manage\validate
 */
class ProjectCategory extends Validate
{
    //定义验证规则
    protected $rule = [
        'name'  => 'require',
        'sort'   => 'require',
    ];

    //定义验证提示
    protected $message = [
        'name.require' => '请输入项目分类名称',
        'sort.require' => '请输入项目分类排序',

    ];

}
